package com.kan.awaits.mongo;

import java.util.Map;

import com.mongodb.DB;

/**
 * 
 * @author Elva
 * @date 2011-4-14
 * @version 1.0
 */
public class AwaitsDatabaseMongoImpl implements AwaitsDatabase
{
	DB db;

	Map<String, AwaitsCollection> awaitsCollections;

	public AwaitsCollection getAwaitsCollection(String name, boolean create)
	{
		if (create)
		{

		}
		if (db.collectionExists(name))
			;
		db.getCollection(name);
		return null;
	}

	public String getDatabaseInfo()
	{
		return null;
	}
}
